package cn.kpi.dao.sys;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.kpi.common.persistence.MyBatisDao;
import cn.kpi.entity.sys.OrgEntity;
import cn.kpi.entity.sys.UserEntity;

@MyBatisDao
public interface UserGroupDao {

	public List<UserEntity> GetUserListByWhere(@Param("where") String where)throws Exception;
	
	public List<OrgEntity> GetOrgListByWhere(@Param("where") String where)throws Exception;
	
	public int UpdateUserGroup(@Param("groupid") Long groupid,@Param("where") String where)throws Exception;
	
	public int UpdateUserGroupNull(@Param("userid") Long userid)throws Exception;
}
